﻿// 1.1.3.02. Write a boolean expression that checks for given integer if it can be
// divided (without remainder) by 7 and 5 in the same time.

using System;

class DivisibleByFiveAndSeven
{
    static void Main()
    {
        while (true)
        {
            Console.Write("Please enter a number: ");
            int inputNumber = int.Parse(Console.ReadLine());
            bool divisibleBy5n7 = ((inputNumber % 5 == 0) && (inputNumber % 7 == 0));
            Console.WriteLine("The number is devisible by 5 and 7: {0}.", divisibleBy5n7);
        }
    }
}
